<html xmlns:th="http://www.thymeleaf.org" >
<head th:include="admin/common/resource ::commonHead('首页')" ></head>
<link rel="stylesheet" th:href="@{/bootstrap/assets/css/docsearch.min.css}">
<link rel="stylesheet" th:href="@{/bootstrap/assets/css/docs.min.css}">
<body>
<div id="header" th:include="admin/common/panels ::headerNav" ></div>
<div class="container-fluid">
    <div class="row flex-xl-nowrap">
        <div class="col-12 col-md-3 col-xl-2 bd-sidebar" th:include="admin/common/panels ::menus"></div>
        <main class="col-12 col-md-12 col-xl-10 py-md-2 pl-md-2 bd-content" >
            <iframe id="mainFrame" frameborder="0" src="/admin/welcome"></iframe>
        </main>
    </div>
</div>
<!-- 底部js -->
<div th:include="admin/common/resource ::footerJs"></div>
<script th:src="@{/bootstrap/assets/js/docsearch.min.js}"></script>
<script th:src="@{/bootstrap/assets/js/docs.min.js}"></script>
</body>
<style>
    #mainFrame{
        width: 100%;
        height: 608px;
    }
</style>
<script>
    var windHeight = document.body.clientHeight;
    var headHeight = $("#header").height();
    $("#mainFrame").height(windHeight - headHeight - 20);
</script>
</html>